<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> 
<meta name="keywords" content="carousel, jquery, responsive, fluid, elastic, resize, thumbnail, slider" />
<meta name="author" content="Codrops" />
<title>微评说客</title>
<link rel="stylesheet" type="text/css" href="/Public/home/style/public.css">
<link rel="stylesheet" type="text/css" href="/Public/home/style/style.css">
<link rel="stylesheet" type="text/css" href="/Public/home/style/font-awesome.css">
<style>
	html,body{ background:#f2f2f2;}
</style>
</head>

<body>
<header class="index-header">
	<h1>问卷调查</h1>
    <a href="/home/index/index.html" class="icon-circle-arrow-left kl"></a>
</header>

<section class="tq-c">
	<h1>{$questionnaire.name}</h1>
    <div class="tq-c2">
    	<p>{$questionnaire.description}</p>
    
    </div>
<div class="tq-content">
<ul>
	<volist name="questions" id="question">
	<li>
	<h3>{$i} {$question.name} <b>*</b></h3>
	<volist name="question.options" id="option" key="optionIndex">

	<switch name="option.type"> <case value="radio">
	<div class="n1">
	<div class="top">
	<div class="top-left"><input type="radio"> <span>{$optionIndex}
	{$option.text}</span></div>
	<div class="top-right"><strong></strong> <span>得票率:
	 {$option['count']/$count*100}%</span></div>
	</div>
	<div class="clears"></div>
	<div class="jindutiao">
	<p style="width: {$option['count']/$count*100}%"></p>
	</div>
	</div>
	</case> <case value="checkbox">
	<div class="n1">
	<div class="top">
	<div class="top-left"><input type="checkbox"> <span>{$optionIndex}
	{$option.text}</span></div>
	<div class="top-right"><strong></strong> <span>得票率:
	 {$option['count']/$count*100}%</span></div>
	</div>
	<div class="clears"></div>
	<div class="jindutiao">
	<p style="width: {$option['count']/$count*100}%"></p>
	</div>
	</div>


	</case> <case value="radio_othertext">
	<div class="detail"><input type="radio" /><strong
		class="option-index">{$optionIndex}</strong>
	<div>其他<br />
	<textarea cols="30" rows="5"></textarea></div>
	</div>
	<present name="option.count">
	<div class="option-statistic">得票率: {$option['count']/$count*100}%
	<div class="reply-list">回答摘要 <textarea cols="30" rows="5"><foreach
		name="option.replyList" item="reply">{$reply}------------------------------</foreach></textarea>
	</div>
	</div>
	</present> </case> <case value="checkbox_othertext">
	<div class="detail"><input type="checkbox" /> <strong
		class="option-index">{$optionIndex}</strong>
	<div>其他<br />
	<textarea cols="30" rows="5"></textarea></div>
	</div>
	<present name="option.count">
	<div class="option-statistic">得票率: {$option['count']/$count*100}%
	<div class="reply-list">回答摘要 <textarea cols="30" rows="5"><foreach
		name="option.replyList" item="reply">{$reply}------------------------------</foreach></textarea>
	</div>
	</div>
	</present> </case> <case value="text">
	<div class="detail"><textarea cols="30" rows="5"></textarea></div>
	<present name="option.replyList">
	<div class="option-statistic">
	<div class="reply-list">回答摘要 <textarea cols="30" rows="5"><foreach
		name="option.replyList" item="reply">{$reply}------------------------------</foreach></textarea>
	</div>
	</div>
	</present> </case> </switch>
	</volist>

</li>
</volist>
    	
    	</ul>
    </div>
</section>
<div class="hh"></div>
<nav>
	<ul>
		<li>
        	<a href="/home/index.html" class="n1">
				<p></p>
				<span>首页</span>
			</a>
        </li>
		<li>
        	<a href="/home/questionnaire.html" class="n2">
				<p class="current"></p>
	<span class="current">问卷</span>
			</a>
        </li>
		<li>
        	<a href="/home/post.html" class="n3">
				<p></p>
				<span>发布</span>
			</a>
        </li>
		<li>
        	<a href="/home/mine.html" class="n4">
				<p></p>
				<span>我的</span>
			</a>
        </li>
	</ul>
</nav>
</body>
</html>
